package com.meizi.lushi.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.meizi.core.tool.api.PageUtils;
import com.meizi.core.tool.api.Query;
import com.meizi.lushi.dao.InSkillAttrDao;
import com.meizi.lushi.entity.InSkillAttrEntity;
import com.meizi.lushi.service.InSkillAttrService;


@Service("inSkillAttrService")
public class InSkillAttrServiceImpl extends ServiceImpl<InSkillAttrDao, InSkillAttrEntity> implements InSkillAttrService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<InSkillAttrEntity> page = this.page(
                new Query<InSkillAttrEntity>().getPage(params),
                new QueryWrapper<InSkillAttrEntity>()
        );

        return new PageUtils(page);
    }

}